import Vue from 'vue'
import App from './App.vue'
import router from './router'

import Vant from "vant"; //引入所有vant组件 上线要优化
// import Swiper from "swiper"; //引入所有vant组件 上线要优化

import axios from "axios"; //引入Ajax组件
import store from './store/index'
Vue.prototype.$axios = axios; //把axios挂载在Vue原型下

import '../node_modules/vant/lib/index.css';
// import '../node_modules/swiper/css/swiper.css';
// import '../node_modules/swiper/js/swiper.js';
// import './MyStyle.css';
import './mobileAdapter'


Vue.use(Vant)
// Vue.use(Swiper)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
